﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Jquery.aspx.cs" Inherits="Demo.Jquery" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="Css/common.css" rel="stylesheet" type="text/css" />
    <script src="Scripts/jquery-1.4.1.js" type="text/javascript"></script>
    <script src="Scripts/common.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:GridView ID="GridView1" runat="server" CssClass="list_con" AutoGenerateColumns="False">
            <Columns>
                <asp:TemplateField>
                    <ItemTemplate>
                      <input name="chkItem" type="checkbox" value="<%# Eval("文章ID") %>"  />
                    </ItemTemplate>
                    <HeaderTemplate>
                        <input id="CheckAll" type="checkbox" onclick="selectAll(this);" />
                    </HeaderTemplate>
                    </asp:TemplateField>
                <asp:BoundField DataField="文章ID" HeaderText="文章ID" />
                <asp:BoundField DataField="标题" HeaderText="标题" />
                <asp:BoundField DataField="作者" HeaderText="作者" />
            </Columns>
        </asp:GridView>
    </div>
    </form>
    
    <input id="btnClient" type="button" value="button" />
</body>
</html>
